Excel 2019 Power Programming with VBA by Michael Alexander & Dick Kusleika
Author:Michael Alexander & Dick Kusleika
Language: eng
Format: epub
ISBN: 9781119514916
Publisher: Wiley
Published: 2019-05-14T00:00:00+00:00
This procedure displays a message whenever the chart is activated.
The Chart_Deactivate procedure that follows also displays a message, but only when the chart sheet is deactivated:
Private Sub Chart_Deactivate() Dim msg As String msg = "Thanks for viewing the chart." MsgBox msg, , ActiveWorkbook.Name End Sub
The Chart_Select procedure that follows is executed whenever an item on the chart is selected:
Private Sub Chart_Select(ByVal ElementID As Long, _ ByVal Arg1 As Long, ByVal Arg2 As Long) Dim Id As String Select Case ElementID Case xlAxis: Id = "Axis" Case xlAxisTitle: Id = "AxisTitle" Case xlChartArea: Id = "ChartArea" Case xlChartTitle: Id = "ChartTitle" Case xlCorners: Id = "Corners" Case xlDataLabel: Id = "DataLabel" Case xlDataTable: Id = "DataTable" Case xlDownBars: Id = "DownBars" Case xlDropLines: Id = "DropLines" Case xlErrorBars: Id = "ErrorBars" Case xlFloor: Id = "Floor" Case xlHiLoLines: Id = "HiLoLines" Case xlLegend: Id = "Legend" Case xlLegendEntry: Id = "LegendEntry" Case xlLegendKey: Id = "LegendKey" Case xlMajorGridlines: Id = "MajorGridlines" Case xlMinorGridlines: Id = "MinorGridlines" Case xlNothing: Id = "Nothing" Case xlPlotArea: Id = "PlotArea" Case xlRadarAxisLabels: Id = "RadarAxisLabels" Case xlSeries: Id = "Series" Case xlSeriesLines: Id = "SeriesLines" Case xlShape: Id = "Shape" Case xlTrendline: Id = "Trendline" Case xlUpBars: Id = "UpBars" Case xlWalls: Id = "Walls" Case xlXErrorBars: Id = "XErrorBars" Case xlYErrorBars: Id = "YErrorBars" Case Else:: Id = "Some unknown thing" End Select MsgBox "Selection type:" & Id & vbCrLf & Arg1 & vbCrLf & Arg2 End Sub
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(25294)
Hello! Python by Anthony Briggs(24339)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(23433)
Kotlin in Action by Dmitry Jemerov(22512)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(21976)
Dependency Injection in .NET by Mark Seemann(21847)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(20711)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(19523)
Grails in Action by Glen Smith Peter Ledbrook(18607)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(17034)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(15843)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(13690)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(11857)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(11151)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(10621)
Hit Refresh by Satya Nadella(9202)
The Kubernetes Operator Framework Book by Michael Dame(8570)
Exploring Deepfakes by Bryan Lyon and Matt Tora(8407)
Robo-Advisor with Python by Aki Ranin(8361)